load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "lightning_checkpoint_parquet_lib",
    srcs = ["parquet.go"],
    importpath = "github.com/pingcap/tidb/br/tests/lightning_checkpoint_parquet",
    visibility = ["//visibility:private"],
    deps = [
        "@com_github_xitongsys_parquet_go//writer",
        "@com_github_xitongsys_parquet_go_source//local",
    ],
)

go_binary(
    name = "lightning_checkpoint_parquet",
    embed = [":lightning_checkpoint_parquet_lib"],
    visibility = ["//visibility:public"],
)
